/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ModulHåndtering;

/**
 *
 * @author Thor
 */
public class Protokol {

    public final static String RECOGNIZE = "%";

    /**
     * StartChar for alt input fra moduler
     */
    public final static String START_DATA = "&";

    /**
     * SlutChar for alt data fra moduler
     */
    public final static String SLUT_DATA = "?";

    /**
     * StartChar for commands send ttil MC modulet
     */
    public final static String START_CMD = "$";

    /**
     * SlutChar for commands send ttil MC modulet
     */
    public final static String SLUT_CMD = "*";

    /**
     * Den char der skal sendes til MC modulet for at tænde for den
     */
    public final static String TÆND_FOR_CONTROLLER = "B";

    /**
     * ASCII koden for NULL char
     */
    public final static char NULL = 178;

    /**
     * Den del af handshake stringen alle moduler deler
     */
    public final static String HANDSHAKE = "$Modul";

    /**
     * Handshake for modul 1 (ModulMC)
     */
    public final static String HANDSHAKE_MODUL1 = "Modul01";

    /**
     * Handshake for modul 2 (ModulFPGA)
     */
    public final static String HANDSHAKE_MODUL2 = "Modul2";

    /**
     * Længden af de strings der sendes fra FPGA moduler efter start- og slutchar fjernes
     */
    public final static int STRING_LENGTH = 6;
}
